import request from '@/utils/request'

// 查询检测结果发送工厂日志列表
export function listSendLog(query) {
  return request({
    url: '/order/sendLog/list',
    method: 'get',
    params: query
  })
}

// 查询检测结果发送工厂日志详细
export function getSendLog(id) {
  return request({
    url: '/order/sendLog/' + id,
    method: 'get'
  })
}

// 新增检测结果发送工厂日志
export function addSendLog(data) {
  return request({
    url: '/order/sendLog',
    method: 'post',
    data: data
  })
}

// 修改检测结果发送工厂日志
export function updateSendLog(data) {
  return request({
    url: '/order/sendLog',
    method: 'put',
    data: data
  })
}

// 删除检测结果发送工厂日志
export function delSendLog(id) {
  return request({
    url: '/order/sendLog/' + id,
    method: 'delete'
  })
}
